From 1fd75d0fa26124f89a962d94beeaa8c12c1b35af Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Mon, 11 May 2020 02:49:09 +0500 Subject: [PATCH] tests: Add missing margin to simple test --- tests/simple.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/simple.c b/tests/simple.c index 2bf39223bc..062afdc9fa 100644 --- a/tests/simple.c +++ b/tests/simple.c @@ -51,6 +51,10 @@ main (int argc, char *argv[]) button = gtk_button_new (); gtk_button_set_label (GTK_BUTTON (button), "hello world"); + gtk_widget_set_margin_top (button, 10); + gtk_widget_set_margin_bottom (button, 10); + gtk_widget_set_margin_start (button, 10); + gtk_widget_set_margin_end (button, 10); g_signal_connect (button, "clicked", G_CALLBACK (hello), NULL); gtk_window_set_child (GTK_WINDOW (window), button); -- 2.30.2